*{
	margin: 0;
	padding: 0;
	list-style: none;
}
#game{
	width: 343px;
	height: 480px;
	margin: 100px auto;
	background-image: url(../img/bg.jpg);
	border: 5px solid lightsalmon;
	overflow: hidden;
	position: relative;
}
#head{
	width: 236px;
	height: 77px;
	background-image: url(../img/head.jpg);
	position: absolute;
	top: 100px;
	left: 50%;
	margin-left: -118px;
}
#head img{
	position: absolute;
	right: 0;
	top: 25.5px;
	animation: flyUpDown 1.5s linear infinite;
}
@keyframes flyUpDown{
	0%{
		top: 25.5px;
	}
	25%{
		top: 0px;
	}
	75%{
		top: 51px;
	}
	100%{
		top: 25.5px;
	}
}
#menu{
	width: 85px;
	height: 29px;
	position: absolute;
	top: 280px;
	left: 129px;
	cursor: pointer;
}
#end{
	width: 269px;
	height: 135px;
	position: absolute;
	top: 100px;
	left: 37px;
	display: none;
}
#again{
	width: 96px;
	height: 33px;
	position: absolute;
	top: 250px;
	left: 123.5px;
	cursor: pointer;
	display: none;
}
#bestScore{
	position: absolute;
	top: 95px;
	right: 30px;
}
#currentScore{
	position: absolute;
	top: 45px;
	right: 30px;
}
#score{
	width: 100%;
	position: absolute;
	top: 20px;
	text-align: center;
	display: none;
}
#pipes{
	height: 100%;
}
/*与先给li添加样式*/
.pipe{
	width: 62px;
	height: 423px;
	position: absolute;
}
.uppipe{
	width: 62px;
	background: url(../img/up_pipe.png) bottom no-repeat,url(../img/up_mod.png) repeat-y;
	position: absolute;
	top: 0;
}
.downpipe{
	width: 62px;
	background: url(../img/down_pipe.png) top no-repeat,url(../img/down_mod.png) repeat-y;
	position: absolute;
	bottom: 0;
}
#bird{
	position: absolute;
	left:62px;
	top: 227px;
	display: none;
}
